package baidu.thread;

public class SubThread implements Runnable {

	private TestThread test;
	
	public SubThread(TestThread test){
		this.test = test;
	}
	public void run() {
		for(int i = 0;i<100;i++){
			test.sub();
		}
	}

}
